<template>
    <ul>
        <transition-group 
        appear
        name="animate__animated animate__bounce" 
        enter-active-class="animate__backInUp"
        leave-active-class="animate__zoomOutUp" >
            <MyItem 
                v-for="todo in todos" 
                :key="todo.id" 
                :todo="todo" 
            />
        </transition-group>
    </ul>
</template>

<script>
    import MyItem from "./MyItem"
    import "animate.css"

    export default {
        name : "MyList",
        components:{
            MyItem
        },
        props:["todos"],
    }
</script>

<style scoped>
   
</style>